<?php /* Smarty version 2.6.6, created on 2013-10-25 16:12:46
         compiled from searchbar.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('insert', 'get_audio_categories', 'searchbar.tpl', 43, false),array('modifier', 'stripslashes', 'searchbar.tpl', 45, false),)), $this); ?>
<script type="text/javascript" src="<?php echo $this->_tpl_vars['baseurl']; ?>
/js/menucontents.js"></script>
<link href="<?php echo $this->_tpl_vars['baseurl']; ?>
/css/navigation.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="<?php echo $this->_tpl_vars['baseurl']; ?>
/css/anylinkmenu.css" />


<script type="text/javascript" src="<?php echo $this->_tpl_vars['baseurl']; ?>
/js/anylinkmenu.js" />
<?php echo '
    
<script type="text/javascript">

//anylinkmenu.init("menu_anchors_class") //Pass in the CSS class of anchor links (that contain a sub menu)
anylinkmenu.init("menuanchorclass")

</script>

<script type="text/javascript">
jQuery(document).ready(function () {	
	
	jQuery(\'#nav li\').hover(
		function () {
			//show its submenu
			$(\'ul\', this).slideDown(100);

		}, 
		function () {
			//hide its submenu
			jQuery(\'ul\', this).slideUp(100);			
		}
	);
	
});
	</script>
	'; ?>

<div id="main-body">
<form action="<?php echo $this->_tpl_vars['baseurl']; ?>
/searchengine.php" method="post">
    <input type="hidden" name="searchbar_category" id="searchbar_category" value="<?php echo $this->_tpl_vars['searchbar_category']; ?>
" />
  <div id="middle-cntnr">
  <div class="catagories-cntnr">
  <div id="mega" class="ctgry-img"> <li><a href="<?php echo $this->_tpl_vars['baseurl']; ?>
/categories/" class="category-txt">
	<img src="<?php echo $this->_tpl_vars['baseurl']; ?>
/images/images_06.jpg" alt="Categories" /> 
  </a> <b class="s4"></b>
      <div> <b class="s1"></b><b class="s2"></b><b class="s3"></b>
		<?php require_once(SMARTY_CORE_DIR . 'core.run_insert_handler.php');
echo smarty_core_run_insert_handler(array('args' => array('name' => 'get_audio_categories', 'assign' => 'cats')), $this); ?>

		<?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['cats']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?>
				<p><a href="<?php echo $this->_tpl_vars['baseurl']; ?>
/browse/categories/audios/z/<?php echo $this->_tpl_vars['cats'][$this->_sections['i']['index']]['CATID']; ?>
/1/<?php echo ((is_array($_tmp=$this->_tpl_vars['cats'][$this->_sections['i']['index']]['name'])) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : stripslashes($_tmp)); ?>
"><?php echo ((is_array($_tmp=$this->_tpl_vars['cats'][$this->_sections['i']['index']]['name'])) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : stripslashes($_tmp)); ?>
</a></p>
		<?php endfor; endif; ?> 
      </div>
    </li></div>
  <div class="country-cntnr">
    <select name=country style="width:102px"><option value="Choose Country">Select Country</option><?php echo $this->_tpl_vars['Headercountry']; ?>
</select>
  </div>
  <div class="country-cntnr">
    <select name="year" style="width:74px;">
		<option value="0">Select yr</option>
		<?php unset($this->_sections['yr']);
$this->_sections['yr']['name'] = 'yr';
$this->_sections['yr']['loop'] = is_array($_loop=$this->_tpl_vars['HeaderyearRange']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['yr']['show'] = true;
$this->_sections['yr']['max'] = $this->_sections['yr']['loop'];
$this->_sections['yr']['step'] = 1;
$this->_sections['yr']['start'] = $this->_sections['yr']['step'] > 0 ? 0 : $this->_sections['yr']['loop']-1;
if ($this->_sections['yr']['show']) {
    $this->_sections['yr']['total'] = $this->_sections['yr']['loop'];
    if ($this->_sections['yr']['total'] == 0)
        $this->_sections['yr']['show'] = false;
} else
    $this->_sections['yr']['total'] = 0;
if ($this->_sections['yr']['show']):

            for ($this->_sections['yr']['index'] = $this->_sections['yr']['start'], $this->_sections['yr']['iteration'] = 1;
                 $this->_sections['yr']['iteration'] <= $this->_sections['yr']['total'];
                 $this->_sections['yr']['index'] += $this->_sections['yr']['step'], $this->_sections['yr']['iteration']++):
$this->_sections['yr']['rownum'] = $this->_sections['yr']['iteration'];
$this->_sections['yr']['index_prev'] = $this->_sections['yr']['index'] - $this->_sections['yr']['step'];
$this->_sections['yr']['index_next'] = $this->_sections['yr']['index'] + $this->_sections['yr']['step'];
$this->_sections['yr']['first']      = ($this->_sections['yr']['iteration'] == 1);
$this->_sections['yr']['last']       = ($this->_sections['yr']['iteration'] == $this->_sections['yr']['total']);
?>
			<option value="<?php echo $this->_tpl_vars['HeaderyearRange'][$this->_sections['yr']['index']]; ?>
"><?php echo $this->_tpl_vars['HeaderyearRange'][$this->_sections['yr']['index']]; ?>
</option>
		<?php endfor; endif; ?>
	</select>
  </div>
  <div class="country-cntnr">
    <select name="artist" style="width:86px;">
		<option value="">Select artist</option>
		<option value="">Anonymous</option>
		<?php unset($this->_sections['ar']);
$this->_sections['ar']['name'] = 'ar';
$this->_sections['ar']['loop'] = is_array($_loop=$this->_tpl_vars['Headerartists']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['ar']['show'] = true;
$this->_sections['ar']['max'] = $this->_sections['ar']['loop'];
$this->_sections['ar']['step'] = 1;
$this->_sections['ar']['start'] = $this->_sections['ar']['step'] > 0 ? 0 : $this->_sections['ar']['loop']-1;
if ($this->_sections['ar']['show']) {
    $this->_sections['ar']['total'] = $this->_sections['ar']['loop'];
    if ($this->_sections['ar']['total'] == 0)
        $this->_sections['ar']['show'] = false;
} else
    $this->_sections['ar']['total'] = 0;
if ($this->_sections['ar']['show']):

            for ($this->_sections['ar']['index'] = $this->_sections['ar']['start'], $this->_sections['ar']['iteration'] = 1;
                 $this->_sections['ar']['iteration'] <= $this->_sections['ar']['total'];
                 $this->_sections['ar']['index'] += $this->_sections['ar']['step'], $this->_sections['ar']['iteration']++):
$this->_sections['ar']['rownum'] = $this->_sections['ar']['iteration'];
$this->_sections['ar']['index_prev'] = $this->_sections['ar']['index'] - $this->_sections['ar']['step'];
$this->_sections['ar']['index_next'] = $this->_sections['ar']['index'] + $this->_sections['ar']['step'];
$this->_sections['ar']['first']      = ($this->_sections['ar']['iteration'] == 1);
$this->_sections['ar']['last']       = ($this->_sections['ar']['iteration'] == $this->_sections['ar']['total']);
?>
			<option value="<?php echo $this->_tpl_vars['Headerartists'][$this->_sections['ar']['index']]['artist']; ?>
"><?php echo $this->_tpl_vars['Headerartists'][$this->_sections['ar']['index']]['artist']; ?>
</option>
		<?php endfor; endif; ?>
	</select>
  </div>
  <div class="search-cntnr">
    <input name="searchterm" type="text" class="search-frm" id="searchterm" />
  </div>
  <input type="hidden" name="submitsearch" value="1" />
  <div class="country-cntnr"><input name="Submit" type="submit" value="Begin Search" class="search-btn" />
  </div>
  </div>
  <div class="icons-cntnr">
  <div class="nav-icons-cntnr2"><a href="<?php echo $this->_tpl_vars['baseurl']; ?>
/browse/categories/audios/z/4/1/DJ Mixes (Soca)"><img src="<?php echo $this->_tpl_vars['baseurl']; ?>
/images/images_23.jpg" alt="" width="127" height="37" border="0" align="right" /></a></div>
  <div class="nav-icons-cntnr"><a href="<?php echo $this->_tpl_vars['baseurl']; ?>
/topvideos.php"><img src="<?php echo $this->_tpl_vars['baseurl']; ?>
/images/images_21.jpg" alt="" width="166" height="37" border="0" /></a></div>
  <div class="nav-icons-cntnr"><a href="<?php echo $this->_tpl_vars['baseurl']; ?>
/playlistList.php"><img src="<?php echo $this->_tpl_vars['baseurl']; ?>
/images/images_19.jpg" alt="" width="116" height="37" border="0" /></a></div>
  <div class="nav-icons-cntnr"><a href="<?php echo $this->_tpl_vars['baseurl']; ?>
"><img src="<?php echo $this->_tpl_vars['baseurl']; ?>
/images/images_17.jpg" alt="" width="155" height="37" border="0" /></a></div>
  </div>
  </div>
  </form>
</div>